package cn.tedu.qxhouserent.passport.mapper;

import cn.tedu.qxhouserent.passport.pojo.entity.Permission;
import cn.tedu.qxhouserent.passport.pojo.vo.PermissionListItemVO;
import cn.tedu.qxhouserent.passport.pojo.vo.PermissionStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper extends BaseMapper<Permission> {

    List<PermissionListItemVO> list();

    PermissionStandardVO getStandardById(Long id);

}
